package cn.itsource.pet.domain;

import cn.itsource.basic.domain.BaseDomain;
import cn.itsource.basic.domain.BaseTreeNode;
import io.swagger.annotations.Api;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;

@Data //生成get set hashcode toString
@AllArgsConstructor //全参数构造
@NoArgsConstructor //无参构造
@Table(name = "t_pet_type")
@Api("微信用户对象")
public class PetType extends BaseTreeNode<PetType> {
    //类型名称
    private String name;
    //类型描述
    private String description;
    //父id
    private Long pid;
}
